package com.cw.jeeyt.service.intf.process;

import java.util.List;

import com.cw.jeeyt.common.Order;
import com.cw.jeeyt.service.bo.process.ActReModelBo;
import com.cw.lang.mybatis.dto.PageInfo;

/**
 * 业务接口
 *
 * @author chenw
 * @date 2019-03-23 23:37:05
 */
public interface ActReModelService {
    /**
     * 查询所有列表信息
     */
    List<ActReModelBo> queryActReModelList() throws Exception;

    /**
     * 删除
     *
     * @param actReModelBo
     */
    void delete(ActReModelBo actReModelBo) throws Exception;

    /**
     * 更新
     *
     * @param actReModelBo
     */
    void update(ActReModelBo actReModelBo) throws Exception;

    /**
     * 更新不为空的字段
     *
     * @param actReModelBo
     */
    void updateSelective(ActReModelBo actReModelBo) throws Exception;

    /**
     * 根据主键查询
     *
     * @return
     */
    ActReModelBo getActReModelById(String id_) throws Exception;

    /**
     * 新增
     *
     * @param actReModelBo
     * @return
     */
    Integer insert(ActReModelBo actReModelBo) throws Exception;

    /**
     * 新增不为空的字段
     *
     * @param actReModelBo
     * @return
     */
    Integer insertSelective(ActReModelBo actReModelBo) throws Exception;

    /**
     * 分页查询
     *
     * @param actReModelBo
     * @param startNum
     * @param pageSize
     * @return
     * @throws Exception
     */
    PageInfo<ActReModelBo> queryByPage(ActReModelBo actReModelBo, Integer startNum, Integer pageSize, Order order)
    throws Exception;
}
